Added Vectord and Matrixd classes.