Changes in joint ranges to match the real limits. Ported this commit from development as a patch, as we can't merge both branches at the moment (no time).