Added setMag() to PVector and added tests.