Fixed bug and added * operator to euclid transform.