funtion to read in LPJ input and output getLPJ()