Fixed a bug in the vol_params copy constructor
Removed an unused variable and added a buffer variable.