Added Nearest Neighbor interpolation back in, added input params

Reimplemented nearest neighbor transformation, as after fixing a few
bugs, it's now lossless.  Also added several new input parameters,
including the min and max values of the image that should be filtered,
and the angular minimum that an artifact should be corrected as a ring.