extension the selected inverse solition function

extension the selected inverse solition function with the angle limit of
the robot for possible solutions