Added own types for vectos, rotations etc. to allow execution on gpu.