[SPARK-3701][MLLIB] update python linalg api and small fixes

1. doc updates
2. simple checks on vector dimensions
3. use column major for matrices

@davies @jkbradley
Just wondering: Does this literally convert a vector of values to a string and then back again?  Is there a faster way?