Change math typedef