Corrected small mistake in the calculation of the location of  the interface for the interface_details file