physics_null: changed to a statistics-only algorithm, expose to Lua

It's a start. This was done ages ago but I accidently erased everything and had to redo it. It's a start, because I still need a job.