temporarily reverting some PVector methods to be compatible with processingjs.