Interim commit - fixed incorrectly coded dot(), added proj.js but not tested, testProj.js not finished