Updated version number to 0.2.7, fixed bug

Updated version number to 0.2.7.
Fixed bug causing errors.