Increased efficiency of spg_gen
spg_gen became a limiting code part for large unit cells as parts of it scaled with the number_of_atoms^4. I rewrote certain parts of it in a more efficient way. Better scaling now. I hope I didn't damage anything.
Showing with 155 additions and 23 deletions