Added initial condition consistency check for turnouts

Added initial condition consistency check for turnouts