Here is the latest version, that has been modified as per several suggestions in the other thread. the other thread has become a bit cluttered, so a new one has become necessary.

Comments???

---Fred