Minor edits, add number of core parameter, run on 4-core linux box.