Gas gauge not working? I think I fixed it.

I got the variable regulator built tonight using an LM317 chip. I'm feeding about 9 volts to the gauges and they appear to be responding well. I'll need to go through more gas (not hard to do with the barge) to see how accurate things are when the tank is nearing empty.