added sigma clip. but probably wont use it