The phrasal preposition ‘in spite of’ is used to express two contrasting ideas together. When it appears in the beginning of a sentence, a comma is added after the noun or noun phrase. Here, ‘in spite of’ has a comma following the noun phrase ‘thorough investigation’. Therefore, it is used correctly.