Can generate a full set of matrices! works < 30 seconds for MLO. Seems to take a very long time for devise - needs optimizing