Barlow, Peter, active 1823-1860, Mathematician