Place a molecule on a surface

This is a simple script that randomly places a molecule on a surface. It assumes that the surface is in the XY plane and translates the sorbant molecule in the Z direction until the number of close contacts drops to zero.

A sub-routine is used to place the molecule making this ideal for use in other scripts.

Cheers

Stephen