Cleaned code, added more samples, allowed command line arguments
Added in form we used for sampling/testing