allocatable arrays,grid & molec. params from input