Added openMP support

Parallized main draw routine to use multi core processor
It is controlled by define directive above the render function