Working ok for the sample data sets provided by Bryan.