alt calculation and plotting, quick and dirty
cosmetic changes, improve comments, add a variable name parameter to the get_alt_for files in folder