Thomas Goudie immersed himself in the colossal fraud plot after he began to bet and lose money on horse racing