SMS: Investigation of magnetic interactions in topological insulators