use float64 instead of float32 for better accuracy
added support for FieldTrip, and implement export in datatype. It currently works only for FieldTrip when data < 2GB