Added very basic test script

Left #TODO is validate the output for a given seed and inputs
Cleaned up some of the usage
Implemented simple random sampling