Rewrote parts of introduction and most of the related work.