First principles studies of GeTe based dilute magnetic semiconductors