First attempt at pymacs