changed all doubles to floats in the inverse kintematics