fixed bug for equations with multiple expressions not evaluating properly. changed solve function to evaluate