guard against theta=0 in s_curve operator
corrected get_border_points for divergence at theta=0
more fixes for theta!=0
changed filename in s_control
added get_good_points to aps class
coverage does the proposed test