fixed some transformation issues and corrected line and triangle views