Updated Frame object with functions to calculate bonus scores and total score