minor change: added abs() to packet delay time calculation because I was getting negative numbers