Changed some parts in the introduction and motivation.