Introduced pc_simulate
Added random initialisation