add pairwise operations between matrices; support basic linear algebra