* Save a given n-dimensional data martix to file. * * \param [in] fname filename to save in (gets overwriten without confirmation) * \param [in] X matrix to save * \param [in] num_points rows in the matrix = number of points * \param [in] num_features columns in the matrix = dimensions of points * \returns 0 if all ok * \returns -1 if file creation failed */