Major sim_npy rewrite

New code should support learning (signals for weights and alpha)
as well as SignalViews.

The simulator is restricted to working with vectors and matrices (BLAS-style)
but if it's good enough for MATLAB maybe it's good enough for us.
adding scrap file