fixed issue with empty matrices when pruning empty rows / columns
Merge pull request #19 from teharrison/master

fixed issue with empty matrices when pruning empty rows / columns