Various QoL changes, mostly to support dynamical matrix calculations