1 dim array

Some smaller issues fixed and 1-dim array working, taking cumulative time from around 15-20sec to less than 3 at pure python coding. Numpy with weaver around 0.3 sec!