Added  to Pipeline_v2.sh to enable number of cores used to be easily chanegd, will in the future want to add this as a command line option