Close to being finisihed, clicking on target cell doesn't calculate correctly