Made changes to allow ml module to work with big data.
Changed types of some variables from int64 back to int.
Also corrected some indexes to be size_t.
Fixed dummy warning.
Merge pull request #395 from LeonidBeynenson:fix_ml_large_data_bug__2.4