There are a couple of issues in the minSeedST1 file which I am currently finidng solutions to.
The first (major) errror is the Byte_convert_to_32 sub function. It reverses the order of all 4 bytes of uint8 before converting to two int16. In fact it should swap pairs of bytes. Line 307 should read: