Refactored age and pass cost calculations
Moved in to their own functions in passtypes.php