Fix bug in sigma_clip so it does it for each pixel

This fixes the bug in sigma clip where it was only checking all the data instead of for each single pixel which closes #73