calculate_features function

Calculate a set of numerical features from protein sequences