Removed as_float_array and moved to check_array