Brad Pitt is up to bat in a baseball movie that proves sport and maths do mix.