Fixed the implementation of LSWI and STSWI. Simplified the implementation
of VSL and VSR.
Merge pull request #846 from gopalsr83/master

Fixed the implementation of LSWI and STSWI. Simplified the implementation of VSL and VSR.