Fixed how I calculated band gap