The following work uses Density Functional Theory (CASTEP) to study the structure and electronic properties of white and black phosphorus.