cleaned up vectormath module