better asserts, Pointwise now supports non-contiguous gradOutput