Creation and Distribution of CAIs in the Protoplanetary Nebula