consolidated testing. added add(scalar)
AddMatrix