created a py3k script to calculate ziggurat params