allow input img+ind instead of file names
moved pixel conversion to outside if statement
fixed errors in umbsel() function- where(umbra,penumbra) was causing crash when the image did not contain any umbrae or penumbrae pixels.
Merge pull request #1 from pohuigin/master

Added functionality to allow inputting a mag image, mag index, igram image, and igram index, and skipping the processing, in addition to being able to input a mag and int filename