Performance improvements

significantly improved performance of parallel implementation of
Fruchterman-Reingold layout