finding correcct bbox for warped image
ratios are now calculated, still need to implement it generally
added bug fixed