[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
I'm pretty sure "major" is more common than "majored"  (I think this typo exists elsewhere in MLlib too.)