I fixed translate so it reutrns the translated obstacle, not an
arraylist of translated lineobjects that make up the obstacle.