PLEASE SEE: The previous version had some errors. So, the previous version link http://filecloud.io/bt8evh4d will not work as I have deleted that file. Many thanks to Uday for pointing out the errors!