Thank you @ricardoV94 for your response.
I can confirm that changing the function works fine, and the results are comparable to what is obtained using the first definition.
Thank you @ricardoV94 for your response.
I can confirm that changing the function works fine, and the results are comparable to what is obtained using the first definition.