Inverse Calculation of Power Density for Laser Surface Treatment