Relaxed dimensionality requirements for various LinAlg operations (backport 0.3)

Since the second commit is relatively new, it wouldn't be crazy to let this sit a few days before merging. I'll follow whatever course is suggested by @ivarne, master of all backporting.