Adjust region/size calculation to use ceil rounding to match OSD #250, add algoritm for rotation size calculation #251
Merge pull request #253 from zimeon/implementation_notes_2

Adjust region/size calculation to use ceil rounding, add algoritm for rotation size calculation