Updated glAtrium to handle 3d transformation; //cleanup necessary