Adjusted cycles for different orders, added scaling options on the distance from source point