changed fibonacci sum calculator to handle multiple representations