Added 3 to 1 and 1 to 3 translate functions