Adding specialization for 4 parameters.
Fixing typos
Merge pull request #2 from johannesu/4parameters

Adding specialization for 4 parameters.