re-worked both hsv_to_rgb and rgb_to_hsv to work on shapes (..., 1)

Updated documentation and added round-trip test

Added test to exercise round-trip with varying shape