Added support for stand-alone is_finite
Added maxtrix-valued element-wise functions