Fix for NaN Shader samples from Quad Mesh objects
Test program now uses ProcessorCount for number of threads