compute repa calories