A study of a phase formalism for calculating the cumulative density of states of one-dimensional photonic crystals