Application of generalised inverse for analysis of magnetic anomalies due to a dyke Model