Nathaniel Atkinson signs long term deal with Heart of Midlothian