Final version of diploma paper.