Added z coordinate to vehicle generation