Update main.m

function name modified.