Change format of Dataset::Matrix