Modified bounds check optimisation.
Modified bounds check optimisation.

Added a check for loop directions in the methods areLoopBoundsValid. If the loop direction in unknown a false is returned.

Sable/VeloCty,Sable/VeloCty,Sable/VeloCty