Application of Density Matrix Methods to Ultrafast Processes