The Stability of a Pipe Stand Racked in a Derrick, Part 2 - A General Pipe Stand Model