Email (record): Self-consistently optimized statistical mechanical energy functions for sequence structure alignment.