Produce correct results for Ellpack and MM reading formats. Anything larger than 96^3 with
4 matrices and 4 function values generates matrices of 1 Gbyte.