[WIP] angle_mic, dihedral_mic

Here is a PR where we can start working on angle and dihedrals which cross the boundaries between periodic boxes. cc #470, #460