Effective mass calculation by computing band structure curve