indent fixed
InSampleSize calculation added (find rounded down to the nearest power of 2 value)