Adding basic algebra to MDMatrix