Fix volume Method and add the errorVolume function