Add function definition to initial comments
Change convolution to correlation