added STARE mask C file... might translate it to python later