You can't include desktop WPF references in an application compiled for Windows Phone 7 (see supported platforms on MSDN).
You'd better rewrite that code (or "grab" it with a decompiler keeping namespaces unchanged, in case someday it'll be shipped in a Portable Library).