Change function name to lower camel case

and add VS_RESTRICT to parameters as well as other cosmetics