-code refactor
-moved most of header code to source
-boltzmann selection
-added recommended rank selection equations