bug fix: pad() could change the dtype of an array downwards, which is undesired behavior. Other minor enhancements.
bug fix: pad() could change the dtype of an array downwards, which is undesired behavior. Other minor enhancements.

jni/gala,stuarteberg/ray,jni/ray,janelia-flyem/gala