Segmentation fault resolved.

In the call for deleting the object of Vector3d there was error because
we were deleting a buffer and not a single object. This is resolved
using the call delete[] (e) where e is a pointer of type Vector3d.