RobOptim Core Layer: interface and basic mathematical tools