fix for visual studio 2012
Updated docs and overloaded createParameter  to take value