fixing calculations to make sure the correct answer comes out for bed size and if it will fit