pub fn validate_sma( a_type: &AlignmentType, min_length: usize, max_length: usize, min_error: i32, max_error: i32) -> (i32, Alignment, Penalties)