Fixed header file with particle structures, adding missing ndim where needed