Smart indent by MATLAB editor
Prevent denominator of zero value
Speed up fznb.m

Separate RGB vector to avoid accessing the variables in the third
dimension of a color image