Finished prototype of algorithm. More work needed but pending information.