refactor: Simplify superfluous mix field array dimensions, reducing from 3 to 2
Description
Cleaning the mixing code to remove an unused third dimension in the arrays. Some cleaning is also done in the SCF module in terms of dependencies.
Some issues are created for doing further cleaning: #972 #973 #974 Closes #965 (closed)
News snippet
Code cleaning.