Fixed NullPointerException when Matrix is printed at sbt console

Signed-off-by: Gustavo Salazar Torres <tavoaqp@gmail.com>
Merge pull request #302 from tavoaqp/master

Fixed NullPointerException when Matrix is printed at sbt console