A library for proton CT reconstruction