load vector instead of matrix