Write Pair class in util package.
Add PinCushionGaussianObjective and fix a minor bug in PinCushionSphereObjective.equals().