added functions for storing excitations and forces