Fixed a small bug

If you did something like (5 m)^0 you would get 1 m as your result, now
you just get 1