many ikfast fixes with degenerate cases