Learning Inverse Statics Models Efficiently