Development of Algorithms for the Direct Multi-Configuration Self- Consistent Field (MCSCF) Method