added some buggy terrain generator
calculating terrain normlas, extracted window init
drawing terrain
added view matrix
extracted matrix operations