A new function for extrapolation for case 1 is introduced. Ready for testing.