Bugfix, waytemp.nd is not a struct if Nnd == 1, resulting in an error:
??? Cell contents reference from a non-cell array object.

Error in ==> parse_osm>parse_way at 78
ndtemp(1, j) = str2double(waytemp.nd{j}.Attributes.ref);
etc..
Bugfix. Corrected comment (wrong color mentioned) and fixed case of zero coordinates when node not found.
Merge pull request #1 from gakera/master

Two bugfixes and corrected comment.