Lighting design theory and calculations