Memset wholeMatrix to remove any data that was previously in that memory location.