Sub function for simulation function

Checks to see if angle set is viable