Gunman planned further attacks: NZ police