Fix typos, add CtoF and FtoC functions