issue warning message when matrices dont match