Updated comments for all .c and .h files