Just as an aside, I replaced Rbottom with a 51 Ohm resistor, and I get this: SensorValue: 11.00/Vout: 0.05/Rbottom: 322318.18/VoltRatio: 0.01/ResRatio: 0.01
Vout is right. ResRatios don't mean anything because it relies on Rbottom.
I think we need to focus on Rbottom calculations.