Gradient updates

* added magnitude, phase functions
* added hypot function for Images
* added checkerboard, diagonal gradient tests