Moved SLDA matrix output to ml_utils