changed stuff to use Matrix3D double precision vectors, fixed problem with aspect ratio