First commit

Still needs some comments, and works. A proper finish should be made,
and the data should be saved. The main file is DarkCurrentTest.py.