Electronic structure analysis of intermetallics for crystal structure changes in Nb3Al