fixed an incorrect index in headers
removed obsolete code from cpdf bw selection that was kicking in at n > 1000 and
causing an error
added the kx_ik tree interactions, yielding another big speed-up
still more work to be done