fomatting
got rid of invalid sine values