Edited blending function in Bitmap-class.

Work in progress!