Improved elevator gravity calculation and wire behavior