Could you put a notice what this code is based on?
You have these Matlab comments in the implementation, it is worth mentioning where those are from etc for reference, not in the doxygen documentation and the license at the file header