Added more target calls. Added output to null file and rand() initialisation to avoid compiler optimizing everything away.