Added norm and dot methods to Matlib