fixed errors in umbsel() function- where(umbra,penumbra) was causing crash when the image did not contain any umbrae or penumbrae pixels.