A numerical, purely Bayesian ranking algorithm written in Java