fixed a serious bug and added models for spherical terrain