Added python code for pre-process, data reduction and session analysis