Original publication: documents algorithm & provides Matlab code