pass the replicas instead of system

previously system was passed and then used to create the replicas with
system.get_random_configuration() and system.get_energy().  I think this
way is cleaner and more flexible.
Merge branch 'master' of github.com:js850/nested_sampling