[MRG] Fixes #6 : python 3.4 where range returns iterator instead of list

Quick changes for Python 3.4 support

Tests pass except for two failures (which are also outstanding in master) with Python 3.4 and Python 2.7