Use floats in lua, not doubles

Putting it back again!