3dmath fixed/finished