Done making changes to c code, now including timing module