added data files, spelling fixes, float to double, some main code