Here are a couple earlier nodes that might help you.
In reply to Re: Working with bell shaped curves by kyle in thread Working with bell shaped curves by Win