ch.py: Fix for assignment (__setitem__) through reorderings
ch_ops.py: added nan_to_num