clean up rejection of fraction/negative powers
fix y = x error/clean up code some