vec2mrs_data function

Convert a vector into a mrs_data object.