First commit of the previously released Ryan's algorithms