A Detailed Analysis of the House Edge