Virtualware demos not compiling

 error: ‘const type’ has no member named ‘cwise’
  minRatio = (limit.cwise() / (x.cwise().abs())).minCoeff(&index);
                            ^
error: ‘const type’ has no member named ‘cwise’

Syntax needs to be updated to support Eigen 3