Adding error message for multiply and add matrix