Better lambda cost implementation (from HM12)

 - Lambda array changed to double as in HM
 - Needs updating when GOP / B-pictures are used