adding in generation of random weighted vector, as well as some cleaning up of machine files and test of an input system