X-Bar: debugging inverseK function