Update main.cpp

Make the function call parameters match the function definitions