moved elastica-only functions to elastica module