Can now make some easy simplifications using the simplify() method. Also, added some support for unary functions like sin and cos.