Full Width Half Max Python Function Return