Update nodeplacement.m