use doubles in mercartor projection functions