Center and scale calculations on pinch-zoom, refs noflo/noflo-gestures#1