moved all sphere model related code to libspimage