Fixes

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