Fixed trilinear projection, added some functions to textclass, halfway done with skysphere classes.