Major and trace elements analysis