close outfile @ end of sphere movement