Bravo Scott. I spent one hour trying to sort out John's routine, and saved it to try again in the future, as I couldn't figure out why it did work. I enjoyed reading your explanation. Thanks to you and John. I will keep both mails in my note.pad. Luiz Luiz Eduardo Favre favre@cos.ufrj.br Scott Dattalo writes: > John Payson wrote: > > ... > > Anyone want to give a go at figuring out how it works? > > > > Sure! > ... > And if you look at John's code closely, you will see this is > how he has expressed the b_j's. > Scott