Added assignment operator and destructor
Removed toCartesian call