add matrix scalar multiplication