added the TDfunction class to hold some more information on the function
correct trapezoidal shape
laser info
write info rasterize the laser function if necessary
use and test lasers