Got a lot to work!

The program should be faster for images containing NaNs now. (The
masking step ignores anything within wlen/2 range of a nan or edge
value.) Force now works.