Tired so i just copied the file for probability distribution from path decompositions for type 1 and type2