Fix a bug which prevented doubles being wrapped in an Array

Fix #246 by correctly raising a NoMethodError for to_a and to_ary