rewriting...
rewrite in progress
fixed test cases and examples
all examples working now
renamed index.js to cwise.js
added backwards compatibility stub
put in outer loop code
rewrite appears to be working
preparing new version of cwise