Mathematics and statistics toolkit.