Modified passed arguments to bezier function for proper syntax.