clang warnings: missing override keywords unused private class data members. should use std::abs() instead of fabs().