Made traceMatrix with accompanying function
deviceNameVector now operational