Changed so that perspective is always interpolated as a matrix