makesample.c now works when transit adopts the atmosphere file layer sampling