Fixes

Fix uninitialized variable warning in the delta function. Test whether
$last is defined before evaluating it.
Fixed bug in computing disk-io-size data.