Added the calculate probability file