Thermal modelling of Selective Laser Melting: A semi-analytical approach