Computational Techniques for Strong Electron Correlation: Matrix Product State Ansatz and its Optimization