Bugfix/fix age calc

This is a bug fix for issue #23.