Fix for omega with csarray
generateSparseBinaryMatrix and splitNnz