Added functions: complextrim, realtrim
Edited polyroots to only return real-valued roots