Unit tested calcLocalProjection.