made scripts work with some old result files
moved R scripts back to main thesis repository