There are programs out there that allow you to spoof your phone number when calling or texting someone, so that they think it was someone else. As nick101 stated, if he had access to your computer in the past, then he could have pulled your contact list and is now using it. If you don't have anti-virus and a firewall setup on your computer, I highly suggest you do so. It could be possible he has access to your computer, but I highly doubt he hacked into your iPhone, even if he is computer savvy. It could be possible he setup a VPN or some remote desktop application on your computer that is running in the background, which would make it possible for him to easily connect to your computer.
If you really want this to stop the cheap way, change your phone number and hire someone to install a firewall and anti-virus, and also have them look at your computer for any remote desktop applications or any other openings that would allow a person to access your computer. You could also speak with a lawyer about this or talk to the police and see what they can do about this.