corrected bugs in BrianAPI
added example run in expSetup.py