added simplify method to formula; returns a copy by default