Lisence: The code is distributed under Free Academic License v. 3.0.
The authors of the code Goran Kovacevič and Valera Veryazov assume that if you use the code, you should acknowledge it.