Memory optimization
remove ch_with_check for a cleaner diff
cleanup some diffs
Fixed several bugs and switch to clear cache top down
don't clear r
Fix tests and minor cleanup
Merge in memory optimizations
Explicitly import ch from chumpy so that we don't ever catch an old version in korper if the python path has korper first.
Remove all references to chumpy from itself, so all imports are relative.
Fix typo
Remove a needless print statement
A sparse matrix uses roughly 16 bytes per nonzero element (8 + 2 4-byte inds), while a dense matrix uses 8 bytes per element. So the break even point for sparsity is 50% nonzero. But in practice, it seems to be that the compression in a csc or csr matrix gets us break even at ~65% nonzero, which lets us say 50% is a conservative, worst cases cutoff.
updated inheritance example
add ch.linalg.norm
Merge remote-tracking branch 'chumpy-bl-hg-to-git/master'

# By Chenyang Liu (6) and others
# Via Alex Weiss (1) and Victor Alvarez (1)
* chumpy-bl-hg-to-git/master:
  add ch.linalg.norm
  updated inheritance example
  A sparse matrix uses roughly 16 bytes per nonzero element (8 + 2 4-byte inds), while a dense matrix uses 8 bytes per element. So the break even point for sparsity is 50% nonzero. But in practice, it seems to be that the compression in a csc or csr matrix gets us break even at ~65% nonzero, which lets us say 50% is a conservative, worst cases cutoff.
  Remove a needless print statement
  Fix typo
  Remove all references to chumpy from itself, so all imports are relative.
  Explicitly import ch from chumpy so that we don't ever catch an old version in korper if the python path has korper first.
  Fix tests and minor cleanup
  don't clear r
  Fixed several bugs and switch to clear cache top down
  cleanup some diffs
  remove ch_with_check for a cleaner diff
  Memory optimization

Conflicts:
	ch.py