Fix readbyte.h
Remove debugging printf from calculate.c
Minor code style change in calculate_tables.py