move symfun constructor stuff to symfun constructor

wtf was it elsewhere?  python_cmd used to live in @sym and apparently subclasses can't get the private helper functions of superclasses.  This is bound to annoy me someday!
unit tests for @symfun