Determining the modal mineralogy of Martian soils