simplified create ellipsoidfromcode method