Added comments of functions.
Changed paths to os.path.join() + scipy import