Added ln, arctan and ref

Added 3 new functions today