Initial data generation implemented in main2.cu - compiles and runs. The result must be tested with IDL!