add record_every parameter for possible rare recording of g(r)
add documentation for radial distribution function
adapt cpp test to record_every parameter