Added more documentation in compression.c