added euclidToPoincare and commented out code