started using numpy, EVERYTHING'S BROKEN