added function to get an eigen vector corresponding to given eigen value