Added conversion tools

vector(dv)
vector(dv, desired_type)
matrix(dm)
matrix(dm, desired_type)
matrix(df)
matrix(df, desired_type)