add light calculator for schematics
replaced Vector<Double> with Vector