EA: use the correct variable when called with function handle

Signed-off-by: Hemant Kumar Singh <h.singh@adfa.edu.au>
Population: Fixed the x plot for case where pop.nf ~= 1

Signed-off-by: Hemant Kumar Singh <h.singh@adfa.edu.au>