Euler object was holding pointer to bad memory. Euler now owns internal array memory and frees it in destructor.