Changed method of 3d rendering of 2d objects. Performace and output has been improved.