got rendering flat and gouraud working. fixed rotation bug.