Add calculation for 1.65V ref voltage and fix typo in calculate.c