Calculations of the roots in separate WPF class project (separate dll assembly)