accuracy fixes
accuracy fixes2
final accuracy fix

Code now accurately creates output with PUF data input
Getting latest code from Sameer
fixing conflicts