Added hdev() and hdev_phase() numpy equivalents

Also added tests in np_tests.py. Next step is total deviation methods.