Changed temp directory for linux
Fixed issues with some trials not having any datapoints. Changed curve to weighted mean. Note: still need to fix issue with faulty records - at the very least trials which include these should not appear in event vals.
m Added new line break in output to screen.