Solved a bug in SimpleGear to BSpline