Connor McMath was found guilty of murder at the High Court in Glasgow.