Update main.cpp

Make the function call parameters match the definitions.