Close to solution

check warning message.  How to test for empty matrix condition?