Gradient updates

* added magnitude, phase functions
* removed extra temporary creation from phase calculation
* added hypot function for Images (faster than sqrt(x.^2+y.^2))
* added checkerboard, diagonal gradient tests