Fixed bug in computing times