Hi again Matthew, I've received an email from the algo author. He is currently working on version 3.1 soon to be released. He will take a look at your code at see if he can implement it. He says its a difficult task to fix the "function" issue - it would be amazing if you have fixed it :)