added modal synthesis function.
added automated testing functions.
also added more plotting functions.
enforced mean-subtraction in modesolver
-jm