make .c files depend on all header files
add round_up and round_down helper functions