Bug Fixed

Fixed the occasional error message when computing: Fatal signal 7
(SIGBUS) code=2
Seems like its due to the output matrix was not properly initialized