Prompt gamma spectroscopy retrieval algorithm for element and density measurements accelerated by cloud computing