Added error checking for undefined continuities
Included for loop in if-block
Merge pull request #81 from calband/brandon__continuity_errors

Added error checking for undefined continuities