vector magnitude for itkcmds