Before changing oldVol in order to test
oldVol changed back. This program is written in suggestion that if compar == 0 => error. This is not final version. Went to petroclima with this.