corrected mistakes on complex types in functions, changed matrix size in sne and removed displays in dgerfs