[MRG] 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 
This might be obvious to some, but I wonder if it would be useful to have a comment here that expresses this code as a matrix operation...