Added "typedef double atomDataType;" so we can switch between float and
double. Seems like float is slower than double.