-added some comments.
-improved rotation algorithms to use CPU caches in a better way.
-added simple scaling using nearest neighbor algorithm. also added sample.
-fixed a bug of creating the bitmap