Fixed small error in calculate expected pixels per bit