Add function for determining intervals of ages
predict.py: automatically determine age intervals