ndarray subclass cleaned up
unoptimized parameter, still slower than current implementation
index operations now work on flattened indices
parameter_testing
comment linear x linear for testing purposes
cross term testing switched on