Update LinAlg.js

Added midPoint(p1,p2)