Fixed a few latent issues with nvect, such as magnitude(), and dot().