fixed a bug in alphaEquiv having to do with the options in the function name and parameter