Add text in large number of @param statements
Add missing comment in vector definition
Add closing brace to function