Add calc_stake and its man page