Sinus cardinal
Update
Minor modification to code