N-Dimensional Space and Perspective: The Mathematics Behind the Interpretation of Ancient Perspective