The computer program LIAR for the simulation and modeling of high performance linacs