Which classical prison reformer and philosopher believed tha…

Which classical prison reformer and philosopher believed that the law should accomplish some utilitarian purpose, with the socially desirable outcome of punishment being the protection of society?  This reformer also developed the Hedonistic calculus to identify the amount of punishment needed to outweigh the pleasure the criminal act will bring.