progress! it all works!
it all works again!

fixed the bugs in scrypt, it was a a case of a mistaken temp variable