+ replaced another double* to use eigen vector's data()