Added timing functionality to sobel.c