settings module implemented
paint event omplemented
Matrix manipulations added