Unit tests for vector math functions
Check for minimum image convention in nlist

All nlist code paths now check that the minimum image convention is met along every periodic direction.