Kilmarnock assistant manager Jimmy Nicholl believes his side were fortunate to claim a 2-0 win over Motherwell.