Added new vec3-class using double[] instead of three doubles. This allows faster []-access.