Computational modelling of optical tweezers